package unit2;


public class Ex2_10_Times {
    public static void main(String[] args) {
        int n = 0; //声明计数器变量
        double h = 0.5; //声明循环控制变量
        for (; h <= 8848.86 * 1000; n++, h *= 2) {
            ; //循环体为空
        }
        System.out.println("需要对折" + n + "次。");
    }
}
